package com.cheejee.oss.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.cheejee.oss.entity.Storage;

@Mapper
public interface StorageMapper {

	int deleteByPrimaryKey(Long id);

	int insert(Storage record);

	int insertSelective(Storage record);

	Storage selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(Storage record);

	int updateByPrimaryKey(Storage record);

	/**
	 *
	 * @param i
	 */
	List<Storage> selectByType(Integer type);

	List<String> selectKey(@Param("id") Long[] id);
	
	int deleteMany(@Param("id") Long[] id);
}